package cn.yyh.org.domain;

import cn.yyh.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.util.List;


/**
 * @author 杨永航
 * @version 1.0
 * @Title: Department
 * @Package: cn.yyh.org.domain
 * @date 2021/6/18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class Department extends BaseDomain {
    private String sn;
    private String name;
    private String dirPath;
    private Integer state = 0;
    private Long managerId;
    private Long parentId;
    private Employee manager;
    private Department parent;
    private List<Department> children;
}
